
<div class="box nomtop">
	
	<h1><?php echo $this->translate( 'remind_header' ); ?></h1>
	
    	<div>
    	
	<?php if( isSet( $this->remindSendStatus ) ) { ?>
		<?php 
		if( $this->remindSendStatus ) {
			echo $this->translate( 'remind_send_ok' );
		} else {
			echo $this->translate( 'remind_send_false' );
		} 
		?>
	<?php } else { ?>
	
	<?php if( $this->remindStatus ) { ?>
	
		<?php echo $this->translate( 'remind_ok' ) ?>
	<?php } else { ?>
		
		<?php echo $this->inlineScript()->setScript('$(document).ready(function(){
				$("#remind-form").validate({
					rules: {
						email: {
							required: true,
							email: true
						}
					},
					messages: {
						email: "' . $this->translate( 'remind_email_error' ) . '"
					}
				});
		
		});') ?>
    		<form method="post" action="" id="remind-form"> 
    		<p class="acenter">
    			<?php echo $this->translate( 'remind_email' ) ?>:
    			<input type="text" id="cemail" name="email" value="" style="width:200px">
    			<?php if( isSet( $this->remindStatus ) && !$this->remindStatus ) { ?>
					<label class="error"><?php echo $this->translate( 'remind_emailfalse' ); ?></label>
				<?php } ?>
    		</p>
    		
    		<p class="acenter mtop15">
    			<a class="button sh" onclick="$('#remind-form').submit()"><?php echo $this->translate( 'remind_dispatch' ); ?></a>
    		</p>
    		</form>
    		
<?php } ?>
<?php } ?>
    	</div>
	
	<div class="end"></div>
</div>
<!-- end box -->

 
